package com.marvels.product.param.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.marvels.common.exception.MarvelsBusinessException;
import com.marvels.product.param.dao.McptProductMapper;
import com.marvels.product.param.dto.McptProduct;
import com.marvels.product.param.service.ProductService;
import com.marvels.product.productmanage.dto.McptProductMappedDto;
@Service
public class ProductServiceImpl implements ProductService {
	@Autowired
	private McptProductMapper mcptProductMapper;
	@Override
	public List<McptProduct> searchAllByParams(McptProductMappedDto mapped) throws MarvelsBusinessException {
		return mcptProductMapper.selectProduct(mapped);
	}
}
